<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>

    <%@include file="/include.jsp" %>
    <script type="text/javascript" src="<%=basePath %>js/My97DatePicker/WdatePicker.js"></script>
    <%--<style>
        body{font-family:"微软雅黑";padding-top:10px;margin:0px;}
    </style>--%>
</head>
<body>
<form action="" name="userForm">
    <div>
        <!--tab-->
        <ul class="nav nav-pills nav-justified" style="border-bottom:solid 3px rgb(66, 139, 202);">
            <li  class="active" role="presentation" style="width:120px;">
                <a href="javascript:void(0)" id="tabTitle" >采购计划详情</a>
            </li>
        </ul>
        <input type="hidden" value="<%=basePath %>" id="path">
        <!--datagrid-->
        <div class="table-responsive" style="overflow-y:hidden">
            <table class="table table-striped" >
                <tbody>
                <tr>
                    <td>订单编号：<input type="text" name="purchapplyid" value="${entity.purchapplyid}"></td>
                    <td>userUuid：<input type="text" name="userUuid" value="${entity.userUuid}"></td>
                </tr>

                <tr>
                    <td>申请单位：<input type="text" name="createuserdeptid" value="${entity.createuserdeptid}"></td>
                    <td>单据编号：<input type="text" name="billnumber" value="${entity.billnumber}"></td>
                    <td>申请人:<input type="text" name="createuser" value="${entity.createuser}"></td>
                </tr>

                <tr>
                    <td>签发人:<input type="text" name="createuser" value="${entity.createuser}"></td>
                    <td>申请日期：<input type="text"  class="Wdate form-control input-sm"  value="${entity.writedate}" name="writedate"></td>
                    <td>交货时间：<input type="text"   class="Wdate form-control input-sm"  value="${entity.jhtime}" name="jhtime" >
                        至<input type="text" class="Wdate form-control input-sm"  value="${entity.jhtime2}" name="jhtime2"></td>
                </tr>

                <tr>
                    <td>煤种：<input type="text" name="coaltype" value="${entity.coaltype}"></td>
                    <td>采购数量：<input type="text" name="qty" value="${entity.qty}">(万吨)</td>
                    <td>运输方式：<input type="text" name="yunshuMode" value="${entity.yunshuMode}"></td>
                </tr>

                <tr>
                    <td>交货地点：<input type="text" name="jiaohuoMode" value="${entity.jiaohuoMode}"></td>
                    <td>结算方式：<input type="text" name="jiesuanMode" value="${entity.jiesuanMode}"></td>
                    <td>验收方式：<input type="text" name="yanshouMode" value="${entity.yanshouMode}"></td>
                </tr>

                <tr>
                    <td>最高限价：<input type="text" name="maxlimitprice" value="${entity.maxlimitprice}">(元/卡.吨)</td>
                    <td>最低限价：<label>暂无</label>(元/卡.吨)</td>
                    <td></td>
                </tr>

                <tr>
                    <td>限价说明：<input type="text" name="maxremark" value="${entity.maxremark}"></td>
                </tr>

                <tr>
                    <td>结算付款方式：<input type="text" name="paymode" value="${entity.paymode}"></td>
                </tr>

                <tr>
                    <td>报价保证金缴纳：<input type="radio"  name="baozhengjin" value="">不要求<input type="radio"  name="baozhengjin" value="">要求  元/吨</td>
                    <td>覆约保证金缴纳：<input type="radio"  name="baozhengjin1" value="">不要求<input type="radio"  name="baozhengjin1" value="">要求  元/吨</td>
                </tr>
                </tbody>
            </table>
        </div>

    </div>

    <div>
        <!--tab-->
        <ul class="nav nav-pills nav-justified" style="border-bottom:solid 3px rgb(66, 139, 202);">
            <li  class="active" role="presentation" style="width:120px;">
                <a href="javascript:void(0)" id="tabTitle" >煤质要求</a>
            </li>
        </ul>
        <input type="hidden" value="<%=basePath %>" id="path">
        <!--datagrid-->
        <div class="table-responsive" style="overflow-y:hidden">
            <table class="table table-striped" >
                <tbody>
                <tr>
                    <h5>收到基准</h5>
                </tr>

                <tr>
                    <td>收到基低位发热量Qnet,ar≥：<input type="text" name="type1" value="${entity.type1}">(KCal/kg)</td>
                    <td>收到基全硫St,ar≤：<input type="text" name="type4" value="${entity.type4}">(%)</td>
                    <td>全水分M≤：<input type="text" name="type2" value="${entity.type2}">(%)</td>
                </tr>

                <tr>
                    <td>收到基灰分Aar≤：<input type="text" name="type6" value="${entity.type6}">(%)</td>
                    <td>收到基挥发分：<input type="text" name="type3" value="${entity.type3}">(%)至<input type="text" name="type32" value="${entity.type32}">(%)</td>
                </tr>
                <tr>
                    <h5>空气干燥基基准</h5>
                </tr>

                <tr>
                    <td>空干基水分Mad≤：<input type="text" name="kgj1" value="${entity.kgj1}">(%)</td>
                    <td>空干基全硫St，ad≤：<input type="text" name="kgj2" value="${entity.kgj2}">(%)</td>
                    <td>空干基挥发分Vad：<input type="text" name="kgj3" value="${entity.kgj3}">(%)至<input type="text" name="kgj4" value="${entity.kgj4}">(%)</td>
                </tr>

                <tr>
                    <td>
                        <h5>干基基准</h5>
                    </td>
                </tr>

                <tr>
                    <td>干基高位发热量Qgr,d≥：<input type="text" name="type11" value="${entity.type11}">(KCal/kg)</td>
                    <td>干基全硫St,d≤：<input type="text" name="type14" value="${entity.type14}">(%)</td>
                    <td>干燥无灰基挥发分：<input type="text" name="type3" value="${entity.type3}">(%)至<input type="text" name="type32" value="${entity.type32}">(%)</td>
                </tr>

                <tr>
                    <td>粒度(mm)≤：<input type="text" name="type8"value="${entity.type8}"></td>
                    <td>灰熔点ST('C)≥：<input type="text" name="type5" value="${entity.type5}"></td>
                    <td>哈式可磨系数(HGI)≥：<input type="text" name="type7" value="${entity.type7}"></td>
                </tr>

                <tr>
                    <td>备注：</td>
                    <td><input type="text" name="remark" value="${entity.remark}"></td>
                </tr>
                </tbody>
            </table>
        </div>

    </div>
    <%--<input type="button" value="添加订单" onclick="add()">--%>
    <input type="button" value="保存订单" onclick="add1()">
</form>


<script type="text/javascript">
    <%--function add() {--%>
    <%--    var form = document.forms[0];--%>
    <%--    form.action = "<%=basePath %>insertTFultbpurchasingapply";--%>
    <%--    form.method = "post";--%>
    <%--    form.submit();--%>
    <%--}--%>
    function add1() {
        var form = document.forms[0];
        form.action = "<%=basePath %>insertTFultbpurchasingapply?id=2";
        form.method = "post";
        form.submit();
    }
</script>
</body>



</html>
